import Vue from 'vue'
import VueRouter from 'vue-router'
import SellerPage from 'views/SellerPage'
import TrendPage from 'views/TrendPage'
import MapPage from 'views/MapPage'
import RankPage from 'views/RankPage'
import HotPage from 'views/HotPage'
import StockPage from 'views/StockPage'
import Home from 'views/Home'
Vue.use(VueRouter)

const routes = [
  {
    path:'/',
    redirect: '/home'
  },
  {
    path:'/home',
    component:Home
  }
]

const router = new VueRouter({
  routes,
  mode:'history'
})

export default router
